Skip to content

fix: group only templates with companions, keep ${VAR} volume sources unprefixed - #49

Merged
iRazvan2745 merged 1 commit into
masterfrom
fix/template-groups-compose-vars
Nov 29, 2026
Merged

iRazvan2745 merged 1 commit into
masterfrom
fix/template-groups-compose-vars

Conversation

@iRazvan2745

@iRazvan2745 iRazvan2745 commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator

Two small fixes split out of the SSO work.

  • Template groups: creating a template only makes a resource group when it has companions. A lone resource no longer sits in a group by itself.
  • Compose volumes: a volume source containing $ (like ${MEDIA_PATH}) is no longer treated as a named volume, so it isn't given the resource prefix. Deploys fill in variables before formatting, so the deployed file still gets real names prefixed.

Tests: tests/api/compose.test.ts covers both the short and long volume syntax, and tests/api/template-create.test.ts now expects a group only for templates with companions.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@greptile-apps

greptile-apps Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · The PR appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Templates now get a resource group only when companions are created. Volume sources containing $ stay unchanged during formatting.

  • Template groups appear only when a template has companions.
  • Compose formatting leaves variable-based volume sources unprefixed.

Reviews (1) · Last reviewed commit: "fix: group only templates with companion..." · Reviewed by Greptile

@iRazvan2745
iRazvan2745 merged commit f43382f into master Nov 29, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant